<template>
	<view>
		<uni-file-picker 
			v-model="imageValue" 
			fileMediatype="image" 
			mode="grid" 
			:auto-upload="false"
			@select="select" 
			@progress="progress" 
			@success="success" 
			@fail="fail" 
		/>
	</view>
</template>

<script setup>
import { computed, ref } from 'vue';
const imageValue = ref([])

const props = defineProps(['data'])

imageValue.value = props.data

const fileLists=ref([])

const select = ()=>{
	console.log('select');
}
const progress = ()=>{
	console.log('progress');
}
const success = ()=>{
	console.log('success');
}
const fail = ()=>{
	console.log('fail');
}

</script>

<style lang="scss" scoped>

</style>